sysroot: Correct error handling path in previous libglnx port
authorColin Walters <walters@verbum.org>
Mon, 30 May 2016 15:20:18 +0000 (11:20 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 30 May 2016 15:40:47 +0000 (15:40 +0000)
commit7748c361ef1ca2aaca1e20316b60f28a94821a32
treeff7bcb3140cd9b63ef99364aa7b8ee77b6c0dd05
parent6e57987c7c64e870ee748978825a672bd10acab8
sysroot: Correct error handling path in previous libglnx port

I happened to have the github page open with my commit after it was
merged, and then noticed a bug.

We still need to throw if we hit a non-`ENOENT` error.

Closes: #315
Approved by: giuseppe
src/libostree/ostree-sysroot.c